import request from '@/router/axios';

export const getList = (current, size, params) => {
    return request({
      url: '/api/blade-system/basicdata/getTemplate',
      method: 'get',
      params: {
        ...params,
        current,
        size,
      }
    })
  }

  export const inserTemplate = (formdata) => {
    return request({
      url: '/api/blade-system/basicdata/InsertTemplate',
      method: 'post',
      data:formdata
    })
  }

  export const updateTemplate = (formdata) => {
    return request({
      url: '/api/blade-system/basicdata/UpdateTemplate',
      method: 'post',
      data:formdata
    })
  }